
import SystemAction from './SystemAction';
import HistoryAction from './HistoryAction';
import UnPayAction from './UnPayAction';
import OrderShipAction from './OrderShipAction';

const Actions = (props) => {
	const { operationPage } = props;
	//顶部操作区
	const actionConfig = {
		'sysOrder': <SystemAction {...props} />,
		'payOrder': <UnPayAction {...props} />,
		'history': <HistoryAction {...props} />,
		'orderShip': <OrderShipAction {...props} />,
	}

	return actionConfig[operationPage];
}

export default Actions;